<template>
  <el-config-provider :locale="zhCn">
    <router-view />
  </el-config-provider>
</template>

<script lang="ts" setup>
import { ElConfigProvider } from "element-plus";
import zhCn from "element-plus/lib/locale/lang/zh-cn";
import { onMounted } from "vue";

onMounted(() => {
  // primary
  //  document.body.style.setProperty("--el-color-primary", "#3853cd");  //#409EFF
  //  document.body.style.setProperty("--el-color-danger", "#ff5040");
  //  document.body.style.setProperty("--el-color-success", "#42ccad");
  // 鼠标移动到按钮上方时显示的颜色，默认蓝色，可以和primary设置的颜色不一样
  // document.body.style.setProperty("--el-border-color-lighter", "#0000");
});
</script>
<style lang="scss">
* {
  padding: 0;
  margin: 0;
}

html,
body,
#app {
  min-width: 960px;
  width: 100%;
  height: 100%;
  background: #eee;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  cursor: pointer;
}

:focus-visible {
  outline: none;
}

.el-select {
  min-width: 214px !important;
}
.el-input {
  min-width: 214px !important;
}
</style>
